package cn.fx.domain;


import lombok.Data;

/**
 * (Product)实体类
 *
 * @author makejava
 * @since 2022-08-24 13:27:36
 */
@Data
public class Product{

    private Long id;
    private String name;
    private Integer price;

    private Integer number;

    public Product() {
    }

    public Product(Long id, String name, Integer price, Integer number) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.number = number;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }
}
